<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.util.log.AppendSocket</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.util.log.AppendSocket";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.util.log.AppendSocket.html" class="symbol">tango.util.log.AppendSocket</a></h1>
  
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Version:</p>Initial release: May 2004
<p class="sec_header">Author:</p>Kris
<dl>
<dt class="decl">class <a class="symbol _class" name="AppendSocket" href="./htmlsrc/tango.util.log.AppendSocket.html#L29" kind="class" beg="29" end="125">AppendSocket</a> : Appender; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#AppendSocket" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.log.AppendSocket.html#L29">#</a></dt>
<dd class="ddef">
<div class="summary">Appender for sending formatted output to a Socket.</div>
<dl>
<dt class="decl"><a class="symbol _ctor" name="AppendSocket.this" href="./htmlsrc/tango.util.log.AppendSocket.html#L43" kind="ctor" beg="43" end="53">this</a><span class="params">(InternetAddress <em>address</em>, Appender.Layout <em>how</em> = null)</span>; <a title="Permalink to this symbol" href="#AppendSocket.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.log.AppendSocket.html#L43">#</a></dt>
<dd class="ddef">
<div class="summary">Create with the given Layout and address</div></dd>
<dt class="decl">Mask <a class="symbol _function" name="AppendSocket.mask" href="./htmlsrc/tango.util.log.AppendSocket.html#L61" kind="function" beg="61" end="64">mask</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#AppendSocket.mask" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.log.AppendSocket.html#L61">#</a></dt>
<dd class="ddef">
<div class="summary">Return the fingerprint for this class</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="AppendSocket.name" href="./htmlsrc/tango.util.log.AppendSocket.html#L72" kind="function" beg="72" end="75">name</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#AppendSocket.name" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.log.AppendSocket.html#L72">#</a></dt>
<dd class="ddef">
<div class="summary">Return the name of this class</div></dd>
<dt class="decl">void <a class="symbol _function" name="AppendSocket.append" href="./htmlsrc/tango.util.log.AppendSocket.html#L87" kind="function" beg="87" end="111">append</a><span class="params">(LogEvent <em>event</em>)</span>; <a title="Permalink to this symbol" href="#AppendSocket.append" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.log.AppendSocket.html#L87">#</a></dt>
<dd class="ddef">
<div class="summary">Append an event to the output. If the operations fails
                we have to revert to an alternative logging strategy, 
                which will probably require a backup Appender specified
                during construction. For now we simply echo to Cerr if
                the socket has become unavailable.</div></dd>
<dt class="decl">void <a class="symbol _function" name="AppendSocket.close" href="./htmlsrc/tango.util.log.AppendSocket.html#L119" kind="function" beg="119" end="124">close</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#AppendSocket.close" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.log.AppendSocket.html#L119">#</a></dt>
<dd class="ddef">
<div class="summary">Close the socket associated with this Appender</div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright (c) 2004 Kris Bell. All rights reserved</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:04:11 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>